﻿#region Imports
using System.Windows;
using BookManager.ViewModels;
using CommonUtilities.Extensions;
#endregion Imports

namespace BookManager.Views
{
    /// <summary>
    /// Interaction logic for SettingsWindow.xaml
    /// </summary>
    public partial class SettingsWindow : Window
    {
        #region Constructors
        public SettingsWindow()
        {
            InitializeComponent();
        }

        public SettingsWindow(MainViewModel mainVM)
            : this()
        {
            mainVM.MySettings_Shallow = mainVM.MySettings.ShallowCopy();
            this.DataContext = mainVM;
        }
        #endregion Constructors
    }
}
